// 诊断项症状
import request from '@/utils/request'

export default{
  /**
   * @description: 添加销售订单 *代表必填
   * @param {Object} params *
   * @return {Object}
   */
   add(params){
    const url = "/socialized-expert/diagnosisItemSymbol/add"
    return request.post(url,params)
  },

  /**
   * @description: 编辑销售订单 *代表必填
   * @param {Object} params *
   * @return {Object}
   */
   edit(params){
    const url = "/socialized-expert/diagnosisItemSymbol/edit"
    return request.post(url,params)
  },

  /**
   * @description: 删除 *代表必填
   * @param {String/Number} staffId *
   * @return {Object}
   */
   delById(id){
    const url = "/socialized-expert/diagnosisItemSymbol/delById?id="+id
    return request.get(url)
  },

       /**
   * @description: 批量删除数据项 *代表必填
   * @param {String/Number} id *
   * @return {Object}
   */
       delListById(idList){ 
        const url = `/socialized-expert/diagnosisItemSymbol/delListById?idList=${idList}`
        return request.get(url)
      },

  /**
   * @description: 条件查询 *代表必填
   * @param {String/Number} staffId *
   * @return {Object}
   */
  queryByCondition(params){
    const url = "/socialized-expert/diagnosisItemSymbol/queryByCondition"
    return request.post(url,{...params})
  },

  /**
   * @description: 分页查询销售订单 *代表必填
   * @param {Object} params *
   * @param {String/Number} page *
   * @param {String/Number} size *
   * @return {Object}
   */
   queryPageByCondition(params){
    const url = "/socialized-expert/diagnosisItemSymbol/queryPageByCondition"
    return request.post(url,params)
  },
}
